<!-- HTML header for doxygen 1.8.20-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
	<meta http-equiv="X-UA-Compatible" content="IE=9"/>
	<meta name="generator" content="Doxygen 1.9.4"/>
	<meta name="viewport" content="width=device-width, initial-scale=1"/>
	<title>Raspberry Pi Pico SDK: include/pico/double.h File Reference</title>
	<!-- <link href="tabs.css" rel="stylesheet" type="text/css"/> -->
	<script type="text/javascript" src="jquery.js"></script>
	<script type="text/javascript" src="dynsections.js"></script>
	<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
	<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
    <link href="https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500&display=swap" rel="stylesheet">
	<link href="doxygen.css" rel="stylesheet" type="text/css" />
	<link href="normalise.css" rel="stylesheet" type="text/css"/>
<link href="main.css" rel="stylesheet" type="text/css"/>
<link href="styles.css" rel="stylesheet" type="text/css"/>
</head>
<body>
	<div class="navigation-mobile">
		<div class="logo--mobile">
			<a href="/"><img src="logo-mobile.svg" alt="Raspberry Pi"></a>
		</div>
		<div class="navigation-toggle">
			<span class="line-1"></span>
			<span class="line-2">
				<p>Menu Toggle</p>
			</span>
			<span class="line-3"></span>
		</div>
	</div>
	<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
		<div class="logo">
			<a href="index.html"> <img src="logo.svg" alt="Raspberry Pi"></a>
			<span style="display: inline-block; margin-top: 10px;">
				v2.1.0
			</span>
		</div>
		<div class="navigation-footer">
			<img src="logo-mobile.svg" alt="Raspberry Pi">
			<a href="https://www.raspberrypi.com/" target="_blank">By Raspberry Pi Ltd</a>
		</div>
<!-- 		<div class="search">
			<form>
				<input type="search" name="search" id="search" placeholder="Search">
				<input type="submit" value="Search">
			</form>
		</div> -->
<!-- Generated by Doxygen 1.9.4 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search",'Search','.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */
</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(document).ready(function(){initNavTree('double_8h.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle"><div class="title">double.h File Reference</div></div>
</div><!--header-->
<div class="contents">
<div class="textblock"><code>#include &lt;math.h&gt;</code><br />
<code>#include &quot;<a class="el" href="pico_8h_source.html">pico.h</a>&quot;</code><br />
<code>#include &quot;pico/bootrom/sf_table.h&quot;</code><br />
</div><div class="textblock"><div class="dynheader">
Include dependency graph for double.h:</div>
<div class="dyncontent">
<div class="center"><img src="double_8h__incl.png" border="0" usemap="#ainclude_2pico_2double_8h" alt=""/></div>
<map name="ainclude_2pico_2double_8h" id="ainclude_2pico_2double_8h">
<area shape="rect" title=" " alt="" coords="362,5,522,32"/>
<area shape="rect" title=" " alt="" coords="319,80,387,107"/>
<area shape="rect" href="pico_8h.html" title=" " alt="" coords="411,80,473,107"/>
<area shape="rect" href="sf__table_8h_source.html" title=" " alt="" coords="497,80,673,107"/>
<area shape="rect" href="common_2pico__base__headers_2include_2pico_2types_8h_source.html" title=" " alt="" coords="158,304,259,331"/>
<area shape="rect" title=" " alt="" coords="252,155,365,181"/>
<area shape="rect" href="common_2pico__base__headers_2include_2pico_2config_8h_source.html" title=" " alt="" coords="390,155,494,181"/>
<area shape="rect" href="platform_8h.html" title=" " alt="" coords="596,155,717,181"/>
<area shape="rect" href="error_8h_source.html" title=" " alt="" coords="741,155,836,181"/>
<area shape="rect" href="assert_8h_source.html" title=" " alt="" coords="5,379,111,405"/>
<area shape="rect" title=" " alt="" coords="74,453,157,480"/>
<area shape="rect" title=" " alt="" coords="211,379,281,405"/>
<area shape="rect" title=" " alt="" coords="306,379,381,405"/>
<area shape="rect" title=" " alt="" coords="173,229,337,256"/>
<area shape="rect" href="compiler_8h_source.html" title=" " alt="" coords="362,229,543,256"/>
<area shape="rect" href="sections_8h_source.html" title=" " alt="" coords="567,229,746,256"/>
<area shape="rect" href="panic_8h_source.html" title=" " alt="" coords="770,229,930,256"/>
<area shape="rect" title=" " alt="" coords="954,229,1165,256"/>
<area shape="rect" title=" " alt="" coords="1189,229,1340,256"/>
<area shape="rect" title=" " alt="" coords="357,304,548,331"/>
</map>
</div>
</div>
<p><a href="double_8h_source.html">Go to the source code of this file.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="func-members" name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:a94c9379d987e4ea7c7932a2f13337f65"><td class="memItemLeft" align="right" valign="top"><a id="a94c9379d987e4ea7c7932a2f13337f65" name="a94c9379d987e4ea7c7932a2f13337f65"></a>
double&#160;</td><td class="memItemRight" valign="bottom"><b>int2double</b> (int32_t i)</td></tr>
<tr class="separator:a94c9379d987e4ea7c7932a2f13337f65"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a19413410422cd0bff0574a935df1424a"><td class="memItemLeft" align="right" valign="top"><a id="a19413410422cd0bff0574a935df1424a" name="a19413410422cd0bff0574a935df1424a"></a>
double&#160;</td><td class="memItemRight" valign="bottom"><b>uint2double</b> (uint32_t u)</td></tr>
<tr class="separator:a19413410422cd0bff0574a935df1424a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9ef41b9f982a8e417ca503673516dbb9"><td class="memItemLeft" align="right" valign="top"><a id="a9ef41b9f982a8e417ca503673516dbb9" name="a9ef41b9f982a8e417ca503673516dbb9"></a>
double&#160;</td><td class="memItemRight" valign="bottom"><b>int642double</b> (int64_t i)</td></tr>
<tr class="separator:a9ef41b9f982a8e417ca503673516dbb9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a291adbf2879908595c1574ff5ffce2e1"><td class="memItemLeft" align="right" valign="top"><a id="a291adbf2879908595c1574ff5ffce2e1" name="a291adbf2879908595c1574ff5ffce2e1"></a>
double&#160;</td><td class="memItemRight" valign="bottom"><b>uint642double</b> (uint64_t u)</td></tr>
<tr class="separator:a291adbf2879908595c1574ff5ffce2e1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae7d9032f902dca5d3cb42dfcda497947"><td class="memItemLeft" align="right" valign="top"><a id="ae7d9032f902dca5d3cb42dfcda497947" name="ae7d9032f902dca5d3cb42dfcda497947"></a>
double&#160;</td><td class="memItemRight" valign="bottom"><b>fix2double</b> (int32_t m, int e)</td></tr>
<tr class="separator:ae7d9032f902dca5d3cb42dfcda497947"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af21a6b16444b6b9fd8e7d9d69f967bc6"><td class="memItemLeft" align="right" valign="top"><a id="af21a6b16444b6b9fd8e7d9d69f967bc6" name="af21a6b16444b6b9fd8e7d9d69f967bc6"></a>
double&#160;</td><td class="memItemRight" valign="bottom"><b>ufix2double</b> (uint32_t m, int e)</td></tr>
<tr class="separator:af21a6b16444b6b9fd8e7d9d69f967bc6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a85c65543e8632b7fcbfef8ea87a0e993"><td class="memItemLeft" align="right" valign="top"><a id="a85c65543e8632b7fcbfef8ea87a0e993" name="a85c65543e8632b7fcbfef8ea87a0e993"></a>
double&#160;</td><td class="memItemRight" valign="bottom"><b>fix642double</b> (int64_t m, int e)</td></tr>
<tr class="separator:a85c65543e8632b7fcbfef8ea87a0e993"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a839c38451211b6a36072eddda3d0d237"><td class="memItemLeft" align="right" valign="top"><a id="a839c38451211b6a36072eddda3d0d237" name="a839c38451211b6a36072eddda3d0d237"></a>
double&#160;</td><td class="memItemRight" valign="bottom"><b>ufix642double</b> (uint64_t m, int e)</td></tr>
<tr class="separator:a839c38451211b6a36072eddda3d0d237"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0bc6577607cf12241eaa2aa648e0a32f"><td class="memItemLeft" align="right" valign="top"><a id="a0bc6577607cf12241eaa2aa648e0a32f" name="a0bc6577607cf12241eaa2aa648e0a32f"></a>
int32_t&#160;</td><td class="memItemRight" valign="bottom"><b>double2fix</b> (double d, int e)</td></tr>
<tr class="separator:a0bc6577607cf12241eaa2aa648e0a32f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afee3c847925ed409465274a10cd61a2e"><td class="memItemLeft" align="right" valign="top"><a id="afee3c847925ed409465274a10cd61a2e" name="afee3c847925ed409465274a10cd61a2e"></a>
uint32_t&#160;</td><td class="memItemRight" valign="bottom"><b>double2ufix</b> (double d, int e)</td></tr>
<tr class="separator:afee3c847925ed409465274a10cd61a2e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a505211eebac2858904614f1617ffd9ca"><td class="memItemLeft" align="right" valign="top"><a id="a505211eebac2858904614f1617ffd9ca" name="a505211eebac2858904614f1617ffd9ca"></a>
int64_t&#160;</td><td class="memItemRight" valign="bottom"><b>double2fix64</b> (double d, int e)</td></tr>
<tr class="separator:a505211eebac2858904614f1617ffd9ca"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a609fee5031bdf75fa642e435e8422cf6"><td class="memItemLeft" align="right" valign="top"><a id="a609fee5031bdf75fa642e435e8422cf6" name="a609fee5031bdf75fa642e435e8422cf6"></a>
uint64_t&#160;</td><td class="memItemRight" valign="bottom"><b>double2ufix64</b> (double d, int e)</td></tr>
<tr class="separator:a609fee5031bdf75fa642e435e8422cf6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3eddb12c9919d6755fbcd604286ba526"><td class="memItemLeft" align="right" valign="top"><a id="a3eddb12c9919d6755fbcd604286ba526" name="a3eddb12c9919d6755fbcd604286ba526"></a>
int32_t&#160;</td><td class="memItemRight" valign="bottom"><b>double2int</b> (double d)</td></tr>
<tr class="separator:a3eddb12c9919d6755fbcd604286ba526"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac9e99d6773e5971364b76f52522af6ac"><td class="memItemLeft" align="right" valign="top"><a id="ac9e99d6773e5971364b76f52522af6ac" name="ac9e99d6773e5971364b76f52522af6ac"></a>
uint32_t&#160;</td><td class="memItemRight" valign="bottom"><b>double2uint</b> (double d)</td></tr>
<tr class="separator:ac9e99d6773e5971364b76f52522af6ac"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a26dbfc007e4b657e4fb2d20e4fcc3d8b"><td class="memItemLeft" align="right" valign="top"><a id="a26dbfc007e4b657e4fb2d20e4fcc3d8b" name="a26dbfc007e4b657e4fb2d20e4fcc3d8b"></a>
int64_t&#160;</td><td class="memItemRight" valign="bottom"><b>double2int64</b> (double d)</td></tr>
<tr class="separator:a26dbfc007e4b657e4fb2d20e4fcc3d8b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a457a2ec01fe31937e1a411495f9b4b31"><td class="memItemLeft" align="right" valign="top"><a id="a457a2ec01fe31937e1a411495f9b4b31" name="a457a2ec01fe31937e1a411495f9b4b31"></a>
uint64_t&#160;</td><td class="memItemRight" valign="bottom"><b>double2uint64</b> (double d)</td></tr>
<tr class="separator:a457a2ec01fe31937e1a411495f9b4b31"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8a5049e98d498225467e5129e21a6743"><td class="memItemLeft" align="right" valign="top"><a id="a8a5049e98d498225467e5129e21a6743" name="a8a5049e98d498225467e5129e21a6743"></a>
int32_t&#160;</td><td class="memItemRight" valign="bottom"><b>double2int_z</b> (double d)</td></tr>
<tr class="separator:a8a5049e98d498225467e5129e21a6743"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adaf43730d25530021d87b238da983f6f"><td class="memItemLeft" align="right" valign="top"><a id="adaf43730d25530021d87b238da983f6f" name="adaf43730d25530021d87b238da983f6f"></a>
int64_t&#160;</td><td class="memItemRight" valign="bottom"><b>double2int64_z</b> (double d)</td></tr>
<tr class="separator:adaf43730d25530021d87b238da983f6f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aea673cadd2aef111e2ee7a813776b768"><td class="memItemLeft" align="right" valign="top"><a id="aea673cadd2aef111e2ee7a813776b768" name="aea673cadd2aef111e2ee7a813776b768"></a>
double&#160;</td><td class="memItemRight" valign="bottom"><b>exp10</b> (double x)</td></tr>
<tr class="separator:aea673cadd2aef111e2ee7a813776b768"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aae314e18a364efd169a48a7bebe23819"><td class="memItemLeft" align="right" valign="top"><a id="aae314e18a364efd169a48a7bebe23819" name="aae314e18a364efd169a48a7bebe23819"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>sincos</b> (double x, double *sinx, double *cosx)</td></tr>
<tr class="separator:aae314e18a364efd169a48a7bebe23819"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad58a872fc44d82cc2144e6a8bd104a7c"><td class="memItemLeft" align="right" valign="top"><a id="ad58a872fc44d82cc2144e6a8bd104a7c" name="ad58a872fc44d82cc2144e6a8bd104a7c"></a>
double&#160;</td><td class="memItemRight" valign="bottom"><b>powint</b> (double x, int y)</td></tr>
<tr class="separator:ad58a872fc44d82cc2144e6a8bd104a7c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abd4a8525a1df1d8ce106966dc6f7087e"><td class="memItemLeft" align="right" valign="top"><a id="abd4a8525a1df1d8ce106966dc6f7087e" name="abd4a8525a1df1d8ce106966dc6f7087e"></a>
double&#160;</td><td class="memItemRight" valign="bottom"><b>ddiv_fast</b> (double n, double d)</td></tr>
<tr class="separator:abd4a8525a1df1d8ce106966dc6f7087e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5ef8043267ef893597629a91185bb5a6"><td class="memItemLeft" align="right" valign="top"><a id="a5ef8043267ef893597629a91185bb5a6" name="a5ef8043267ef893597629a91185bb5a6"></a>
double&#160;</td><td class="memItemRight" valign="bottom"><b>sqrt_fast</b> (double d)</td></tr>
<tr class="separator:a5ef8043267ef893597629a91185bb5a6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a74b2e7d51f9906f0b0877b5e046a2b94"><td class="memItemLeft" align="right" valign="top"><a id="a74b2e7d51f9906f0b0877b5e046a2b94" name="a74b2e7d51f9906f0b0877b5e046a2b94"></a>
double&#160;</td><td class="memItemRight" valign="bottom"><b>mla</b> (double x, double y, double z)</td></tr>
<tr class="separator:a74b2e7d51f9906f0b0877b5e046a2b94"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
</div><!-- contents -->
</div><!-- doc-content -->

	<script src="main.js"></script>
</body>
</html>